package com.bank.study.service.impl;

import com.bank.study.pojo.Product;
import com.bank.study.service.OrderService;
import org.springframework.stereotype.Service;


@Service
public class OrderServiceImpl implements OrderService {
    @Override
    public Product selectProductList() {
        System.out.println( "selectProductList Change Implement before");
        Product product = new Product(1,"手机",1,5800D);
        System.out.println( product.toString());
        product.setProductName("手机2");
        product.setProductPrice(7800D);
        System.out.println( "selectProductList Change Implement after");
        System.out.println( product.toString());
        return product;
    }
}
